﻿Imports System.ComponentModel
Imports System.Collections.ObjectModel

Public Class DumpViewModel
    Inherits ViewModelBase

    Public Sub New(ByVal snaps As List(Of HeapSnapshot))
        Snapshots = New ObservableCollection(Of HeapSnapshot)(snaps)
    End Sub

    Private mSnapshots As ObservableCollection(Of HeapSnapshot)
    Public Property Snapshots As ObservableCollection(Of HeapSnapshot)
        Get
            Return mSnapshots
        End Get
        Set(ByVal Value As ObservableCollection(Of HeapSnapshot))
            mSnapshots = Value
            RaisePropertyChanged("Snapshots")
        End Set
    End Property

End Class
